package com.zhixin.fans.ks.ui;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;

import com.tencent.bugly.beta.global.e;
import com.zhixin.fans.ks.ui.main.MainActivity;
import com.zhixin.fans.ks.ui.splash.SplashActivity;


public class LaunchActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (TextUtils.isEmpty(e.E.v)) {
            startActivity(new Intent(this, SplashActivity.class));

        } else {
            startActivity(new Intent(this, MainActivity.class));

        }
        finish();
    }
}

